<script setup lang="ts">
import { PropType, ref, watch, nextTick } from "vue";
import Z001 from "@/components/z001.vue";
function reShow(n: boolean) {
  if (!n) {
    nextTick(() => {
      show.value = true;
    });
  }
}
const show = ref(false);
watch(show, reShow);
defineProps({
  modelValue: {
    type: Object as PropType<any>,
    required: false,
    default() {
      return { vaule: "新建模板" };
    },
  },
});
</script>
<template>
  <Z001 class="ful"></Z001>
</template>
<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body,
#app,
.ful {
  width: 100%;
  height: 100%;
}
</style>
